Skip to content

feat(beta): add LocalShellTool and LocalShellEnvironment for local sh…#2535

Open
vvlrff wants to merge 4 commits intoag2ai:mainfrom
vvlrff:local_shell
Open

feat(beta): add LocalShellTool and LocalShellEnvironment for local sh…#2535
vvlrff wants to merge 4 commits intoag2ai:mainfrom
vvlrff:local_shell

Conversation

@vvlrff
Copy link
Copy Markdown
Contributor

@vvlrff vvlrff commented Mar 31, 2026

LocalShellTool — a client-side FunctionTool that executes shell commands locally via subprocess, works with any LLM provider (Anthropic, OpenAI, Gemini, Ollama, etc.), and manages a sandboxed working directory.

@vvlrff vvlrff requested a review from Lancetnik as a code owner March 31, 2026 20:28
@github-actions github-actions bot added the beta label Mar 31, 2026
@Lancetnik Lancetnik self-assigned this Apr 1, 2026
vvlrff and others added 3 commits April 1, 2026 23:48
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
…tests for command matching and ignore patterns
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 5, 2026

Codecov Report

❌ Patch coverage is 90.43478% with 11 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
autogen/beta/tools/final/local_shell.py 90.17% 7 Missing and 4 partials ⚠️
Files with missing lines Coverage Δ
autogen/beta/__init__.py 100.00% <100.00%> (ø)
autogen/beta/tools/__init__.py 100.00% <100.00%> (ø)
autogen/beta/tools/final/__init__.py 100.00% <100.00%> (ø)
autogen/beta/tools/final/local_shell.py 90.17% <90.17%> (ø)

... and 20 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants